package com.gongpingjialoan.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Administrator on 2016/3/21.
 */
public class VipBuycarBean implements Parcelable {


    private String price = "";
    private String function = "";
    private String itent = "";
    private String others = "";
    private String times = "";
    private String phone = "'";

    private String type = "";

    private String brand_models = "";
    private String colors = "";
    private String age = "";
    private String mile = "";
    private String expect_period = "";

    private String city = "";
    private String id = "";
    private String brand_models_zh = "";

    private String useloan = "";

    public String getUseloan() {
        return useloan;
    }

    public void setUseloan(String useloan) {
        this.useloan = useloan;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTimes() {
        return times;
    }

    public void setTimes(String times) {
        this.times = times;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getFunction() {
        return function;
    }

    public void setFunction(String function) {
        this.function = function;
    }

    public String getItent() {
        return itent;
    }

    public void setItent(String itent) {
        this.itent = itent;
    }

    public String getOthers() {
        return others;
    }

    public void setOthers(String others) {
        this.others = others;
    }

    public VipBuycarBean() {
    }

    public String getBrand_models() {
        return brand_models;
    }

    public void setBrand_models(String brand_models) {
        this.brand_models = brand_models;
    }

    public String getColors() {
        return colors;
    }

    public void setColors(String colors) {
        this.colors = colors;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getMile() {
        return mile;
    }

    public void setMile(String mile) {
        this.mile = mile;
    }

    public String getExpect_period() {
        return expect_period;
    }

    public void setExpect_period(String expect_period) {
        this.expect_period = expect_period;
    }

    public String getId() {
        return id;
    }


    public void setId(String id) {
        this.id = id;
    }

    public String getBrand_models_zh() {
        return brand_models_zh;
    }

    public void setBrand_models_zh(String brand_models_zh) {
        this.brand_models_zh = brand_models_zh;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.price);
        dest.writeString(this.function);
        dest.writeString(this.itent);
        dest.writeString(this.others);
        dest.writeString(this.phone);
        dest.writeString(this.type);
        dest.writeString(this.times);

        dest.writeString(this.brand_models);
        dest.writeString(this.colors);
        dest.writeString(this.age);
        dest.writeString(this.mile);
        dest.writeString(this.expect_period);
        dest.writeString(this.city);
        dest.writeString(this.id);
        dest.writeString(this.brand_models_zh);
        dest.writeString(this.useloan);
    }

    protected VipBuycarBean(Parcel in) {
        this.price = in.readString();
        this.function = in.readString();
        this.itent = in.readString();
        this.others = in.readString();
        this.phone = in.readString();
        this.type = in.readString();
        this.times = in.readString();

        this.brand_models = in.readString();
        this.colors = in.readString();
        this.age = in.readString();
        this.mile = in.readString();
        this.expect_period = in.readString();
        this.city = in.readString();
        this.id = in.readString();
        this.brand_models_zh = in.readString();
        this.useloan = in.readString();
    }

    public static final Creator<VipBuycarBean> CREATOR = new Creator<VipBuycarBean>() {
        public VipBuycarBean createFromParcel(Parcel source) {
            return new VipBuycarBean(source);
        }

        public VipBuycarBean[] newArray(int size) {
            return new VipBuycarBean[size];
        }
    };
}
